package cn.iocoder.yudao.module.dlbz.controller.admin.suppliermoney.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 供应商支付记录新增/修改 Request VO")
@Data
public class SupplierMoneySaveReqVO {

    @Schema(description = "唯一ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "12124")
    private Long id;

    @Schema(description = "供应商ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "25065")
    @NotNull(message = "供应商ID不能为空")
    private Long supplierId;

    @Schema(description = "总金额", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "总金额不能为空")
    private Long moneyAll;

    @Schema(description = "结算金额", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "结算金额不能为空")
    private Long moneyMy;

    @Schema(description = "结算时间(年-月）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "结算时间(年-月）不能为空")
    private LocalDate moneyTime;

    @Schema(description = "状态：0未结算 1已结算")
    private Integer state;

    @Schema(description = "结算时间")
    private LocalDateTime settleAccountsTime;

    @Schema(description = "结算凭证")
    private String img;

}